import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

const store = new Vuex.Store({
	state: {
		orderConfirmList:[],
	},
	mutations: {
		setOrderConfirmList(state, data) {
			state.orderConfirmList = data;
		},
	},
	actions: {
		orderConfirm({commit}, data){
			commit('setOrderConfirmList',data);
		}
	}
})

export default store
